package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;


public class JsCourse {

  private Integer courseId;//课程主键
  private Integer userId;//后台用户id（主讲教师）
  private Integer classId;//课程专业id
  private Integer recommend;//推荐 2、新品 3、推荐 4、其他
  private String courseName;//课程名称
  private String courseIntro;//课程简介
  private Float coursePrice;//课程原价
  private Float courseNprice;//课程现价
  private Integer courseStatus;//上架状态，2上架，3未上架
  private Integer courseCstatus;//审核状态，1审核通过，2待审核，3未通过
  private String coursePrimary;//课程搜索关键词
  private String url;//图片封面url地址
  private String courseUrl;//课程url地址
  private String courseInfo;//课程详情
  private Integer courseNo;//课程序号，1、2、3集等
  private String courseTime;//课程时长，单位分钟
  private Integer likeNum;//点赞数量
  private Integer shareNum;//分享数量
  private Integer collectNum;//收藏数量
  private Integer lookNum;//预览数量
  private Integer saleNum;//销售数量
  private Integer id;//序号
  private String createId;//创建人
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String createDate;//创建时间
  private String updateId;//更新人
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String updateDate;//更新时间
  private String recordId;//审核id
  private String createName;//上传人员
  private String courseClass;//分类名
  private Integer result;//视频审核表审核状态
  @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private String implementDate;//审核时间
  private Integer implementId;//审核人id
  private String remarks;//审核备注
  private String shopId;//购买编号
  private String title;//分类名称
  private Integer type;//课程类型
  private Integer recordType;//审核状态
  private String account; //用户姓名
  private String className; //课程分类名称
  private Integer commentNum;//评论数量
  private Integer commentType;//评论类型
  private Integer display; //显示状态

  public Integer getCourseId() {
    return courseId;
  }

  public void setCourseId(Integer courseId) {
    this.courseId = courseId;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public Integer getClassId() {
    return classId;
  }

  public void setClassId(Integer classId) {
    this.classId = classId;
  }

  public Integer getRecommend() {
    return recommend;
  }

  public void setRecommend(Integer recommend) {
    this.recommend = recommend;
  }

  public String getCourseName() {
    return courseName;
  }

  public void setCourseName(String courseName) {
    this.courseName = courseName;
  }

  public String getCourseIntro() {
    return courseIntro;
  }

  public void setCourseIntro(String courseIntro) {
    this.courseIntro = courseIntro;
  }

  public Float getCoursePrice() {
    return coursePrice;
  }

  public void setCoursePrice(Float coursePrice) {
    this.coursePrice = coursePrice;
  }

  public Float getCourseNprice() {
    return courseNprice;
  }

  public void setCourseNprice(Float courseNprice) {
    this.courseNprice = courseNprice;
  }

  public Integer getCourseStatus() {
    return courseStatus;
  }

  public void setCourseStatus(Integer courseStatus) {
    this.courseStatus = courseStatus;
  }

  public Integer getCourseCstatus() {
    return courseCstatus;
  }

  public void setCourseCstatus(Integer courseCstatus) {
    this.courseCstatus = courseCstatus;
  }

  public String getCoursePrimary() {
    return coursePrimary;
  }

  public void setCoursePrimary(String coursePrimary) {
    this.coursePrimary = coursePrimary;
  }

  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

  public String getCourseUrl() {
    return courseUrl;
  }

  public void setCourseUrl(String courseUrl) {
    this.courseUrl = courseUrl;
  }

  public String getCourseInfo() {
    return courseInfo;
  }

  public void setCourseInfo(String courseInfo) {
    this.courseInfo = courseInfo;
  }

  public Integer getCourseNo() {
    return courseNo;
  }

  public void setCourseNo(Integer courseNo) {
    this.courseNo = courseNo;
  }

  public String getCourseTime() {
    return courseTime;
  }

  public void setCourseTime(String courseTime) {
    this.courseTime = courseTime;
  }

  public Integer getLikeNum() {
    return likeNum;
  }

  public void setLikeNum(Integer likeNum) {
    this.likeNum = likeNum;
  }

  public Integer getShareNum() {
    return shareNum;
  }

  public void setShareNum(Integer shareNum) {
    this.shareNum = shareNum;
  }

  public Integer getCollectNum() {
    return collectNum;
  }

  public void setCollectNum(Integer collectNum) {
    this.collectNum = collectNum;
  }

  public Integer getLookNum() {
    return lookNum;
  }

  public void setLookNum(Integer lookNum) {
    this.lookNum = lookNum;
  }

  public Integer getSaleNum() {
    return saleNum;
  }

  public void setSaleNum(Integer saleNum) {
    this.saleNum = saleNum;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getCreateId() {
    return createId;
  }

  public void setCreateId(String createId) {
    this.createId = createId;
  }

  public String getCreateDate() {
    return createDate;
  }

  public void setCreateDate(String createDate) {
    this.createDate = createDate;
  }

  public String getUpdateId() {
    return updateId;
  }

  public void setUpdateId(String updateId) {
    this.updateId = updateId;
  }

  public String getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(String updateDate) {
    this.updateDate = updateDate;
  }

  public String getRecordId() {
    return recordId;
  }

  public void setRecordId(String recordId) {
    this.recordId = recordId;
  }

  public String getCreateName() {
    return createName;
  }

  public void setCreateName(String createName) {
    this.createName = createName;
  }

  public String getCourseClass() {
    return courseClass;
  }

  public void setCourseClass(String courseClass) {
    this.courseClass = courseClass;
  }

  public Integer getResult() {
    return result;
  }

  public void setResult(Integer result) {
    this.result = result;
  }

  public String getImplementDate() {
    return implementDate;
  }

  public void setImplementDate(String implementDate) {
    this.implementDate = implementDate;
  }

  public Integer getImplementId() {
    return implementId;
  }

  public void setImplementId(Integer implementId) {
    this.implementId = implementId;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public String getShopId() {
    return shopId;
  }

  public void setShopId(String shopId) {
    this.shopId = shopId;
  }

  public String getTitle() {
    return title;
  }

  public void setTitle(String title) {
    this.title = title;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public Integer getRecordType() {
    return recordType;
  }

  public void setRecordType(Integer recordType) {
    this.recordType = recordType;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getClassName() {
    return className;
  }

  public void setClassName(String className) {
    this.className = className;
  }

  public Integer getCommentNum() {
    return commentNum;
  }

  public void setCommentNum(Integer commentNum) {
    this.commentNum = commentNum;
  }

  public Integer getCommentType() {
    return commentType;
  }

  public void setCommentType(Integer commentType) {
    this.commentType = commentType;
  }

  public Integer getDisplay() {
    return display;
  }

  public void setDisplay(Integer display) {
    this.display = display;
  }

  @Override
  public String toString() {
    return "JsCourse{" +
            "courseId=" + courseId +
            ", userId=" + userId +
            ", classId=" + classId +
            ", recommend=" + recommend +
            ", courseName='" + courseName + '\'' +
            ", courseIntro='" + courseIntro + '\'' +
            ", coursePrice=" + coursePrice +
            ", courseNprice=" + courseNprice +
            ", courseStatus=" + courseStatus +
            ", courseCstatus=" + courseCstatus +
            ", coursePrimary='" + coursePrimary + '\'' +
            ", url='" + url + '\'' +
            ", courseUrl='" + courseUrl + '\'' +
            ", courseInfo='" + courseInfo + '\'' +
            ", courseNo=" + courseNo +
            ", courseTime='" + courseTime + '\'' +
            ", likeNum=" + likeNum +
            ", shareNum=" + shareNum +
            ", collectNum=" + collectNum +
            ", lookNum=" + lookNum +
            ", saleNum=" + saleNum +
            ", id=" + id +
            ", createId='" + createId + '\'' +
            ", createDate='" + createDate + '\'' +
            ", updateId='" + updateId + '\'' +
            ", updateDate='" + updateDate + '\'' +
            ", recordId='" + recordId + '\'' +
            ", createName='" + createName + '\'' +
            ", courseClass='" + courseClass + '\'' +
            ", result=" + result +
            ", implementDate='" + implementDate + '\'' +
            ", implementId=" + implementId +
            ", remarks='" + remarks + '\'' +
            ", shopId='" + shopId + '\'' +
            ", title='" + title + '\'' +
            ", type=" + type +
            ", recordType=" + recordType +
            ", account='" + account + '\'' +
            ", className='" + className + '\'' +
            ", commentNum=" + commentNum +
            ", commentType=" + commentType +
            ", display=" + display +
            '}';
  }
}
